package com.ys.homework;

import java.util.Scanner;

/**
 * @author CodeYang
 * @Description TODO
 * @Date 2020/12/10 11:52
 */
public class 双色球练习1 {

    public static void main(String[] args) {
        System.out.println("********欢迎进入双色球彩票系统********");
        System.out.println("\t1.购买彩票");
        System.out.println("\t2.查看开奖");
        System.out.println("\t3.退出");
        System.out.println("**********************************");
        System.out.println("请选择菜单");

        Scanner in = new Scanner(System.in);
        int chose = in.nextInt();
        switch (chose) {
            case 1:
                System.out.println("购买彩票");
                break;
            case 2:
                System.out.println("查看开奖");
                break;
            case 3:
                System.out.println("谢谢使用");
                break;
            default:
                System.out.println("输入错误");
                break;
        }

    }
}
